package com.ruoyi.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 上门回收审核对象 home_recycling_detail_order
 * 
 * @author ruoyi
 * @date 2021-03-24
 */
public class HomeRecyclingDetailOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 详情订单主键 */
    private Long detailorderid;

    /** 主订单ID */
    @Excel(name = "主订单ID")
    private Long orderid;

    /** 物品类型：1.3C数码 2.家用电器 3.大宗废品 */
    @Excel(name = "物品类型：1.3C数码 2.家用电器 3.大宗废品")
    private Long recyclingrestype;

    /** 物品名称 */
    @Excel(name = "物品名称")
    private String recyclingresname;

    /** 物品规格 */
    @Excel(name = "物品规格")
    private String specifications;

    /** 物品重量 */
    @Excel(name = "物品重量")
    private String recyclingresweight;

    /** 预估价格 */
    @Excel(name = "预估价格")
    private Long accpoints;

    /** 图片(多个以逗号分隔) */
    @Excel(name = "图片(多个以逗号分隔)")
    private String pic;

    /** 审核状态:1.未审核 2.通过 3.驳回 4.免审 */
    @Excel(name = "审核状态:1.未审核 2.通过 3.驳回 4.免审")
    private Long auditstatus;

    /** 驳回理由 */
    @Excel(name = "驳回理由")
    private String nayreason;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date audittime;

    /** 是否删除：1.未删除 2.已删除 */
    @Excel(name = "是否删除：1.未删除 2.已删除")
    private Long isdel;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ctime;

    public void setDetailorderid(Long detailorderid) 
    {
        this.detailorderid = detailorderid;
    }

    public Long getDetailorderid() 
    {
        return detailorderid;
    }
    public void setOrderid(Long orderid) 
    {
        this.orderid = orderid;
    }

    public Long getOrderid() 
    {
        return orderid;
    }
    public void setRecyclingrestype(Long recyclingrestype) 
    {
        this.recyclingrestype = recyclingrestype;
    }

    public Long getRecyclingrestype() 
    {
        return recyclingrestype;
    }
    public void setRecyclingresname(String recyclingresname) 
    {
        this.recyclingresname = recyclingresname;
    }

    public String getRecyclingresname() 
    {
        return recyclingresname;
    }
    public void setSpecifications(String specifications) 
    {
        this.specifications = specifications;
    }

    public String getSpecifications() 
    {
        return specifications;
    }
    public void setRecyclingresweight(String recyclingresweight) 
    {
        this.recyclingresweight = recyclingresweight;
    }

    public String getRecyclingresweight() 
    {
        return recyclingresweight;
    }
    public void setAccpoints(Long accpoints) 
    {
        this.accpoints = accpoints;
    }

    public Long getAccpoints() 
    {
        return accpoints;
    }
    public void setPic(String pic) 
    {
        this.pic = pic;
    }

    public String getPic() 
    {
        return pic;
    }
    public void setAuditstatus(Long auditstatus) 
    {
        this.auditstatus = auditstatus;
    }

    public Long getAuditstatus() 
    {
        return auditstatus;
    }
    public void setNayreason(String nayreason) 
    {
        this.nayreason = nayreason;
    }

    public String getNayreason() 
    {
        return nayreason;
    }
    public void setAudittime(Date audittime) 
    {
        this.audittime = audittime;
    }

    public Date getAudittime() 
    {
        return audittime;
    }
    public void setIsdel(Long isdel) 
    {
        this.isdel = isdel;
    }

    public Long getIsdel() 
    {
        return isdel;
    }
    public void setCtime(Date ctime) 
    {
        this.ctime = ctime;
    }

    public Date getCtime() 
    {
        return ctime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("detailorderid", getDetailorderid())
            .append("orderid", getOrderid())
            .append("recyclingrestype", getRecyclingrestype())
            .append("recyclingresname", getRecyclingresname())
            .append("specifications", getSpecifications())
            .append("recyclingresweight", getRecyclingresweight())
            .append("accpoints", getAccpoints())
            .append("pic", getPic())
            .append("remark", getRemark())
            .append("auditstatus", getAuditstatus())
            .append("nayreason", getNayreason())
            .append("audittime", getAudittime())
            .append("isdel", getIsdel())
            .append("ctime", getCtime())
            .toString();
    }
}
